<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>${node.name}[#if
	node.parent??]_${node.parent.name}[/#if]_${site.fullNameOrName}${global.customs['poweredby']}</title>
<link href="_files/global.css" rel="stylesheet" />
<link href="_files/style.css" rel="stylesheet" />
<link href="_files/css.css" rel="stylesheet" />
<link href="_files/fuchuang.css" rel="stylesheet" />
[#include 'inc_js.html'/]
</head>

<body>
	<div class="top-bg-01">
		<div id="main">
			[#include 'inc_header.html'/]
			<div class="lianjie-index">
				你当前的位置： [#list node.hierarchy as n]<a href="${n.url}"
					class="a c-desc">${n.name}</a>[#if n_has_next] > [/#if][/#list]
			</div>
			<div class="main-main">
				<div id="left-menu">
					<div>
						<img src="_files/img/news-icon.png" width="169" height="80"
							style="margin-bottom: 10px; float: left;">
					</div>
					[#include 'level_second_leftMenu.html'/]
				</div>
				<div class="list-right clearfix">
					<div class="list-right-shang list-height01">
    				 
    				  <div class="gangweijieshao clearfix">
          <div class="gangwei">
           <b class="gangweijieshao-title"><img src="_files/img/list-icon-whole.png" width="6" height="8" style="margin-right:6px;">${substring(title,22,'...')}</b>
            <!-- <td class="read">阅读次数：
           	<span id="info_views"></span>
           	</td> -->
           	<span class="undis" id="info_views"></span>
			<script type="text/javascript">
				$("#info_views").load("${dy}/info_views/${info.id}.htmx?d="+new Date()*1);
			</script>
           <table>
            <tr>
             <td class="gwjs-td01">招聘单位：</td>
             <td class="gwjs-td02">
              [#if info.p0??]
	         	[@Company companyId=info.p0;company]
	         	 [#if company??]${company.CName}[/#if]
				[/@Company]
	          [/#if]
             </td>
             <td class="gwjs-td01">招聘部门：</td>
             <td class="gwjs-td02">
               [#if info.p1??]
		           [@Department departmentId=info.p1;department]
		         	 [#if department??]${department.CName}[/#if]
					[/@Department]
	           [/#if]
             </td>
            </tr>
            <tr>
             <td class="gwjs-td01">招聘人数：</td>
             <td class="gwjs-td02">[#if info.customs['number']??]${info.customs['number']}[/#if]</td>
             <td class="gwjs-td01">学历要求：</td>
             <td class="gwjs-td02">[#if info.customs['customs']??]${info.customs['customs']}[/#if]</td>
            </tr>
            <tr>
             <td class="gwjs-td01">发布日期：</td>
             <td class="gwjs-td02">
             [#if info.publishDate??]
	         	 ${info.publishDate?string('yyyy-MM-dd')}
	           [/#if]
             </td>
             <td class="gwjs-td01">截止期限：</td>
             <td class="gwjs-td02">
	           [#if info.offDate??]
	         	 ${info.offDate?string('yyyy-MM-dd')}
	           [/#if]
             </td>
            </tr>
           </table>
          </div>
          <div class="gangweimiaoshu">
           <b class="gangweijieshao-title"><img src="_files/img/list-icon-whole.png" width="6" height="8" style="margin-right:6px;">岗位职责</b>
           <textarea  autoHeight="true" readonly="readonly" >[#if info.customs['responsibilities']??]${info.customs['responsibilities']}[/#if]</textarea>   
          </div>
          <div class="renzhiyaoqiu">
           <b class="gangweijieshao-title"><img src="_files/img/list-icon-whole.png" width="6" height="8" style="margin-right:6px;">岗位要求</b>
           <textarea  autoHeight="true" readonly="readonly" >[#if info.customs['qualifications']??]${info.customs['qualifications']}[/#if]</textarea>   
          </div>
          	<script type="text/javascript">
          	$(function(){
                $.fn.autoHeight = function(){    
                function autoHeight(elem){
                    elem.style.height = 'auto';
                    elem.scrollTop = 0; //防抖动
                    elem.style.height = elem.scrollHeight + 'px';
                }
                this.each(function(){
                    autoHeight(this);
                    $(this).on('keyup', function(){
                        autoHeight(this);
                    });
                });     
            }                
            $('textarea[autoHeight]').autoHeight();    
        })
			</script>
         </div>
         
         	<!-- <form action="${dy}/recruit.htmx" class="mt20" style="padding:0 30px;">
			<input type="hidden" name="post" value="${info.title}"/>
			<button type="submit" class="ff-yh fs20" style="border:none;padding:10px 30px;background-color:#fd8000;color:#fff;">申请职位</button>
		</form> -->
		
         <div class="yingpin">
          <div>
          <form action="${dy}/recruit.htmx">
			<input type="hidden" name="post" value="${info.title}"/>
			   [#if info.p1??]
			   		<input type="hidden" name="departmentId" value="${info.p1}"/>
			   [/#if]
<!-- 			<input type="hidden" id="departmentName" name="departmentName" value=""/> -->
			 <input type="hidden" name="recruitType" value="[#if node.name=='社会招聘']1[#else]2[/#if]"/>
			<button type="submit">申请职位</button>
		 </form>
<!--           <a> -->
<!--           <form action="${dy}/recruit.htmx"> -->
<!-- 			<input type="hidden" name="post" value="${info.title}"/> -->
<!-- 			<button type="submit">申请职位</button> -->
<!-- 		 </form> -->
<!-- 		 </a> -->
          </div>
          <p>请填写完整应聘信息，重复投递无效</p>
          <p>为了获得更好的浏览效果,建议您使用IE9及以上版本浏览器。</p>
         </div>
					</div>
				</div>
			</div>
			<div class="clearboth"></div>
		<!--footer-->
		[#include 'inc_footer.html'/]
		<!--footer-end-->
		</div>
	</div>
</body>
</html>